import axios from '../api';
// 检查账号是否存在
export const checkUserName = data =>
  axios("/v1/h5/api/checkUserName", data, 'POST')
// 根据id查询用户状态
export const status = data =>
  axios("/v1/h5/api/status", data, 'POST')
// 获取banner列表
export const bannerList = data =>
  axios("/v1/h5/api/bannerList", data, 'POST');
//  获取支付列表
export const payTypeList = data =>
  axios("/v1/h5/api/payTypeList", data, 'POST')
// 下单
export const placeOrder = data =>
  axios("/v1/h5/api/placeOrder", data, 'POST')
// 根据订单主键id查询订单
export const getByOrderId = data =>
  axios("/v1/h5/api/getByOrderId", data, 'POST')
// 获取验证码资源
export const getSliderImg = data =>
  axios("/code/get-slider-img", data, 'GET')
// 滑块验证
export const sliderCheck = data =>
  axios("/code/slider-check", data, 'POST')
